﻿/*-------------------------------------
//
//Copyright (C) 2007 开发二组 版权所有。
//
//文件名：MagicLantern.js
//
//文件功能描述：javascript + flash 实现网页图片幻灯片切换
// 
//创建标识：2007.11.13 殷悦
//创建描述：
//
//------------------------------------*/
// JScript 文件
var focus_width=600
var focus_height=183
var text_height=20
var swf_height = focus_height+text_height
var pics='Images/banner1.jpg|Images/banner2.jpg|Images/banner3.jpg|Images/banner4.jpg|Images/banner5.jpg|Images/banner6.jpg'
var links='http://www.smartbusiness.com/webui|http://www.smartbusiness.com/webui|http://www.smartbusiness.com/webui|http://www.smartbusiness.com/webui|http://www.smartbusiness.com/webui|http://www.smartbusiness.com/webui'
var texts='Lollipops 法国品牌 风靡韩国|韩国品牌全新上市|做瑞丽女人|秋之韵 魅力围巾|流行库存全新上市|花样女孩演绎美色假日'

document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="Images/main.swf"><param name="quality" value="high"><param name="bgcolor" value="#ffffff">');
document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
document.write('<embed src="Images/main.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#ffffff" quality="high" width="'+ focus_width +'" height="'+ focus_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');	
document.write('</object>');